package com.king.pattem.producerconsumer;

/**
 * @author taomk
 * @version 1.0
 * @since 15-2-5 下午8:50
 */
public class PCData {

	private final int intData;

	public PCData(int d) {
		this.intData = d;
	}

	public PCData(String d) {
		intData = Integer.valueOf(d);
	}

	public int getData() {
		return intData;
	}

	@Override
	public String toString() {
		return "data : " + intData;
	}
}
